home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
MSDOS
/
(m)aal
/
CUTFILE2.DOC
< prev
next >
Wrap
Text File
|
1987-10-11
|
3KB
|
55 lines
Doc for Cutfile.pas
This program simply breaks up a large file into smaller pieces so
that it can be transferred to floppy disks. I first wrote the program
to break up large data files to take from office to home, but have
subsequently used it largely in conjunction with archiving programs.
This allows one to archive a large subdirectory and then back it up to
floppies. This program is also useful for distributing, say, large
(greater than 360K) database files on 360K floppies. Since the program
is not needed to restore the files (the copy command will suffice),
multiple distribution is simplified.
To run the program, you can first compile the program using Turbo
Pascal, version 3 or you can use my compilation enclosed. I used the
Turbo Optimizer from Turbo Power Software to reduce the size of the
executable.
You will be prompted for the source filename as well as the output
filename. Do not use an extension on the outfile name since the program
creates an extension for the output file. It is possible to send the
output files to floppy disks by responding, for example, a:outfilename.
You will be prompted to change the floppy. If you don't, then the
program will keep asking until you get some free space. Pressing Ctrl C
will abort the program.
This version will use any valid, logical dos disk and will first
check to see how much disk space is available; it will then fill up the
disk if the source program is big enough.
This program does the job of taking apart the large file into
smaller chunks. I had written a program to put the smaller files into
larger chunks but have not included it. Since the files are not
altered, it is possible to reconstruct the file using the copy command.
For example, if the program created two files, use the following
command.
copy/b outfilename.1 + outfilename.2 Originalfilename
The /b is NECESSARY.
If this program has helped you out enough so that you are willing to
subsidize it, I would humbly accept your contribution. Please send
checks to:
Scott E. Lindsey
803 W. Walnut
Lompoc, Ca. 93436
I can also be reached electronically at the following locations:
- Gene Plantz BBS, Chicago, ID0371
- SELINZ@NUACC.bitnet
- Nutug BBS, (312)491-3215
Scott E. Lindsey, October 1987
This is version 2.
1